Skip to content
This repository was archived by the owner on Jul 23, 2020. It is now read-only.

Commit 1a6ba74

Browse files
committed
Bump version.
1 parent bf0e199 commit 1a6ba74

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ function getCustomCSS(uid, callback) {
77
if (!uid) {
88
return callback(null, '');
99
}
10-
db.getObjectFields('user:' + uid + ':settings', ['customCSS'], function(err, customCSS) {
10+
db.getObjectField('user:' + uid + ':settings', 'customCSS', function(err, customCSS) {
1111
if (err) {
1212
return callback(err);
1313
}
1414

15-
callback(null, (customCSS || {}).customCSS || '');
15+
callback(null, customCSS || '');
1616
});
1717
}
1818

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodebb-plugin-user-css",
3-
"version": "0.0.0",
3+
"version": "0.0.1",
44
"description": "Per-user custom CSS for NodeBB forums",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)