Skip to content

Commit

Permalink
fix(sandbox): update imports in user ops service (#2234)
Browse files Browse the repository at this point in the history
update imports in user ops service

gh-0
  • Loading branch information
Tyagi-Sunny authored Jan 15, 2025
1 parent a01b18e commit f5fc1e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {AuthCacheSourceName} from '@sourceloop/authentication-service';
const config = {
name: AuthCacheSourceName,
connector: 'kv-redis',
// url: '',
url: process.env.REDIS_URL,
host: process.env.REDIS_HOST,
port: process.env.REDIS_PORT,
password: process.env.REDIS_PASSWORD,
Expand Down
10 changes: 4 additions & 6 deletions sandbox/auth-ms-basic-example/src/services/user-ops.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
import {BindingScope, injectable} from '@loopback/core';
import {AnyObject, repository} from '@loopback/repository';
import {HttpErrors} from '@loopback/rest';
import {
User,
UserCredentials,
UserTenant,
} from '@sourceloop/authentication-service/dist/models';
import {
AuthClientRepository,
RoleRepository,
User,
UserCredentials,
UserRepository,
UserTenant,
UserTenantRepository,
} from '@sourceloop/authentication-service/dist/repositories';
} from '@sourceloop/authentication-service';
import {UserStatus} from '@sourceloop/core';
import {AuthenticateErrorKeys} from '@sourceloop/core/src/enums';
import bcrypt from 'bcrypt';
Expand Down

0 comments on commit f5fc1e1

Please sign in to comment.