mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat(api): make methods public
This commit is contained in:
@@ -235,7 +235,7 @@ export class SubscriberService extends BaseService<
|
||||
* @param subscriber The subscriber whose is being handled.
|
||||
*/
|
||||
@OnEvent('hook:user:lastvisit')
|
||||
private async handleLastVisit(subscriber: Subscriber) {
|
||||
async handleLastVisit(subscriber: Subscriber) {
|
||||
if (subscriber.lastvisit) {
|
||||
try {
|
||||
const user = await this.updateOne(subscriber.id, {
|
||||
|
||||
Reference in New Issue
Block a user