Skip to content

Commit

Permalink
Update users-controllers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush0751 authored Nov 30, 2023
1 parent c01abf8 commit 1371cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/controllers/users-controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Subscription = require("../models/subscription")

const Redis = require('redis')
const redisClient = Redis.createClient({url:'rediss://red-ch3gid4eoogsn035o4t0:dzb0BGdaC7UGDeIDoWTEgLKfd04FMLOU@oregon-redis.render.com:6379'})
const DEFAULT_EXPIRATION = 3600
const DEFAULT_EXPIRATION = 360000

const cloudinary = require("../utils/cloudinary")
const getDataUri = require("../utils/dataUri")
Expand Down Expand Up @@ -429,4 +429,4 @@ exports.getPost = getPost;
exports.postCreate = postCreate;
exports.deletePost = deletePost;
exports.addSubscription = addSubscription;
exports.getSubscriptions = getSubscriptions;
exports.getSubscriptions = getSubscriptions;

1 comment on commit 1371cf9

@vercel
Copy link

@vercel vercel bot commented on 1371cf9 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.