mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
refactor: move randomVal to a lib
This commit is contained in:
@@ -6,7 +6,7 @@ import splitWhitespace from '../libs/splitWhitespace';
|
||||
import {
|
||||
NotAuthorized,
|
||||
} from '../libs/errors';
|
||||
import randomVal from '../fns/randomVal';
|
||||
import randomVal from '../libs/randomVal';
|
||||
|
||||
// TODO this is only used on the server
|
||||
// move out of common?
|
||||
|
||||
@@ -4,7 +4,7 @@ import _ from 'lodash';
|
||||
import {
|
||||
NotAuthorized,
|
||||
} from '../libs/errors';
|
||||
import randomVal from '../fns/randomVal';
|
||||
import randomVal from '../libs/randomVal';
|
||||
|
||||
// TODO this is only used on the server
|
||||
// move out of common?
|
||||
|
||||
Reference in New Issue
Block a user