mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix exports
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
module.exports = function isPinned (user, item, checkOfficialPinnedItems /* getOfficialPinnedItems */) {
|
||||
export default function isPinned (user, item, checkOfficialPinnedItems /* getOfficialPinnedItems */) {
|
||||
if (user === null)
|
||||
return false;
|
||||
|
||||
@@ -11,4 +10,4 @@ module.exports = function isPinned (user, item, checkOfficialPinnedItems /* getO
|
||||
return true;
|
||||
|
||||
return isItemPinned;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user