mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +03:00
Add username to user
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
module.exports = function defineCurrentUserHook(sails) {
|
||||
const TOKEN_PATTERN = /^Bearer /;
|
||||
|
||||
const getUser = async accessToken => {
|
||||
const getUser = async (accessToken) => {
|
||||
let id;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user